[VERSN2]
//unlocks memory files and installs speedreflect.asi in scripts folder
unlock_memory all
speedreflect auto

//copies geometry.bin, textures.bin and vinyls.bin files from the 370Z folder in the mod's folder to the CARS\370Z folder of the game, will overwrite existing files (override)
//370Z stands for the internal car name (eg: CARS\180SX\GEOMETRY.BIN)
move_file override relative absolute 370Z\GEOMETRY.BIN CARS\370Z\GEOMETRY.BIN
move_file override relative absolute 370Z\TEXTURES.BIN CARS\370Z\TEXTURES.BIN
move_file override relative absolute 370Z\VINYLS.BIN CARS\370Z\VINYLS.BIN

//(optional) same as above but for parts animations; remove the double slashes at the beginning to use
move_file override relative absolute 370Z\PARTS_ANIMATIONS.BIN CARS\370Z\PARTS_ANIMATIONS.BIN

//copies 370Z.ini from the mod folder to the scripts\UnlimiterData folder
move_file override relative absolute 370Z.ini scripts\UnlimiterData\370Z.ini

//checks if FrontB.lzc's TPKBlock name has been changed to DEFAULT by TexEd and renames it back to the correct name (FRONTENDTEXTURES)
if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
	do
		update_collection FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CollectionName FRONTENDTEXTURES
	else
end

//adds the secondary logo with the SECONDARY_LOGO_370Z.dds file (eg: SECONDARY_LOGO_CAMARO) in the mod folder
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_370Z SECONDARY_LOGO_370Z "SECONDARY_LOGO_370Z.dds"

//(optional) adds manufacturer logo (eg CARSELECT_MANUFACTURER_BMW)
//add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_<MANUFACTURER> CARSELECT_MANUFACTURER_<MANUFACTURER> "CARSELECT_MANUFACTURER_<MANUFACTURER>.dds"

//imports the DBModelParts.bin file
import override GLOBAL\GLOBALB.LZC DBModelParts DBMODELPARTS.BIN

//(optional) adds a part override node to use a different part like spoilers or mirrors (eg POLO_PART_SPOILER) - remove the double slashes at the beginning to use
//add_collection GLOBAL\GLOBALB.LZC SlotOverrides 370Z_PART_<SLOT>

//specfies the part that will be used for the override node (eg SPOILER_HATCH)
//update_collection GLOBAL\GLOBALB.LZC SlotOverrides 370Z_PART_<SLOT> InfoMainOverride <PART>

//imports the CarTypeInfos.bin file
import override GLOBAL\GLOBALB.LZC CarTypeInfos CarTypeInfos.BIN

//(optional) adds unlock condition
//add_incareer GLOBAL\GLOBALB.LZC GCareers Main GCarUnlocks 370Z
//update_incareer GLOBAL\GLOBALB.LZC GCareers Main GCarUnlocks 200SXS14A ReqEventCompleted1 EVENT_NAME
//update_incareer GLOBAL\GLOBALB.LZC GCareers Main GCarUnlocks 200SXS14A ReqEventCompleted2 EVENT_NAME

//copies 370Z.ini files from the scripts\carsounddata\cartypemapping\ folder in the mod's folder to the scripts\carsounddata\cartypemapping\ folder of the game, will overwrite existing files (override)
move_file override relative absolute scripts\carsounddata\cartypemapping\370Z.ini scripts\carsounddata\cartypemapping\370Z.ini

//copies ##.ini files from the scripts\carsounddata\cardatamapping\ folder in the mod's folder to the scripts\carsounddata\cardatamapping\ folder of the game, will overwrite existing files (override)
move_file override relative absolute scripts\carsounddata\cardatamapping\02.ini scripts\carsounddata\cardatamapping\02.ini
